Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make InMem- and SQL stores behave the same #287

Conversation

paullatzelsperger
Copy link
Member

@paullatzelsperger paullatzelsperger commented Feb 29, 2024

What this PR changes/adds

This PR adapts the behaviour of the InMem- stores so that it is identical to the Sql- stores.

In particular, the in-mem stores joined multiple Criterion filters with a logical or, whereas the SQL stores
use an and.

Why it does that

Achieve identical behaviour.

Further notes

  • I updated some files to use the ParticipantResource.queryByParticipantId() factory method to query by participant ID.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@paullatzelsperger paullatzelsperger added the bug Something isn't working label Feb 29, 2024
@paullatzelsperger paullatzelsperger self-assigned this Feb 29, 2024
@paullatzelsperger paullatzelsperger merged commit d2a0f7f into eclipse-edc:main Feb 29, 2024
3 checks passed
@paullatzelsperger paullatzelsperger deleted the fix/make_inmem_sql_stores_behave_identical branch February 29, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants